package com.ruoyi.yuangong.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * qiandao对象 vpaiban
 *
 * @author ruoyi
 * @date 2023-11-08
 */
public class Vpaiban extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户昵称
     */
    @Excel(name = "用户昵称")
    private long id;

    /**
     * 用户昵称
     */
    @Excel(name = "用户昵称")
    private Integer userid;

    /**
     * 用户昵称
     */
    @Excel(name = "用户昵称")
    private String username;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称")
    private String deptname;

    /**
     * 排班时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paibanshijian;

    /**
     * 班次
     */
    @Excel(name = "班次")
    private String banci;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String beizhu;

    /**
     * 是否签到
     */
    @Excel(name = "是否签到")
    private String shifouqiandao;

    /**
     * 签到时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date qiandaoshijian;

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public void setUsername (String username) {
        this.username = username;
    }

    public String getUsername () {
        return username;
    }

    public void setDeptname (String deptname) {
        this.deptname = deptname;
    }

    public String getDeptname () {
        return deptname;
    }

    public void setPaibanshijian (Date paibanshijian) {
        this.paibanshijian = paibanshijian;
    }

    public Date getPaibanshijian () {
        return paibanshijian;
    }

    public void setBanci (String banci) {
        this.banci = banci;
    }

    public String getBanci () {
        return banci;
    }

    public void setBeizhu (String beizhu) {
        this.beizhu = beizhu;
    }

    public String getBeizhu () {
        return beizhu;
    }

    public void setShifouqiandao (String shifouqiandao) {
        this.shifouqiandao = shifouqiandao;
    }

    public String getShifouqiandao () {
        return shifouqiandao;
    }

    public void setQiandaoshijian (Date qiandaoshijian) {
        this.qiandaoshijian = qiandaoshijian;
    }

    public Date getQiandaoshijian () {
        return qiandaoshijian;
    }

    @Override
    public String toString () {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("username", getUsername())
                .append("deptname", getDeptname())
                .append("paibanshijian", getPaibanshijian())
                .append("banci", getBanci())
                .append("beizhu", getBeizhu())
                .append("shifouqiandao", getShifouqiandao())
                .append("qiandaoshijian", getQiandaoshijian())
                .toString();
    }
}
